package cn.memorynine.dao.entity;

import java.time.LocalDateTime;
import java.io.Serializable;

import lombok.Data;
import com.baomidou.mybatisplus.annotation.*;


/**
 * 订单(ShopOrder)实体类
 *
 * @author makejava
 * @since 2021-02-23 23:15:48
 */
@Data
@TableName("shop_order")
public class ShopOrder implements Serializable {
    /**
     * 订单aid
     **/
    @TableId(type = IdType.AUTO)
    private Integer aid;
    /**
     * 用户aid
     */
    private Integer customerAid;
    /**
     * 订单编号
     */
    private String number;
    /**
     * 订单交货地址
     */
    private String address;
    /**
     * 总款
     */
    private Integer sumPoints;
    /**
     * 订单状态
     */
    private Integer stateId;
    /**
     * 生成订单时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime timeCreate;
    /**
     * 订单发货人aid
     */
    private Integer diliverCustomerAid;
    /**
     * 付款时间
     */
    private LocalDateTime timePayment;
    /**
     * 订单发货时间
     */
    private LocalDateTime timeShipment;
    /**
     * 订单结束时间
     */
    private LocalDateTime timeOrderFinish;

}
